package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterWechatPayConfigsDao;
import com.vf.admin.miaodong.entity.AlipayConfigs;
import com.vf.admin.miaodong.entity.WechatPayConfigs;
import com.vf.admin.miaodong.service.AfterWechatPayConfigsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>Title : </p>
 * <p>Description : </p>
 * <p>DevelopTools : IDEA</p>
 * <p>DevelopSystem : Windows10</p>
 *
 * @Author : NemoMeng
 * @Date 2023/6/28 13:38
 */
@Service
public class AfterWechatPayConfigsServiceImpl implements AfterWechatPayConfigsService {

    @Autowired
    private AfterWechatPayConfigsDao afterWechatPayConfigsDao;

    @Override
    public List<WechatPayConfigs> list(Map<String, Object> map, SplitPageBean splitPage) {
        return afterWechatPayConfigsDao.list(map,splitPage);
    }

    @Override
    public void saveOrUpdate(WechatPayConfigs params) {
        afterWechatPayConfigsDao.saveOrUpdate(params);
    }

    @Override
    public WechatPayConfigs get(Integer id) {
        return afterWechatPayConfigsDao.get(id);
    }

    @Override
    public void del(Integer id) {
        afterWechatPayConfigsDao.del(id);
    }
}
